import request from '@/utils/request';

// 获取列表
export function getUserListApi(postBody) {
  return request({
    url: process.env.VUE_APP_SYS_SERVICE + 'api/sysUserDefault/getSysUserDefaultListByPage',
    method: 'post',
    data: postBody
  });
}

// 获取系统组织架构
export function getSystemStructureTree(params) {
  return request({
    url: process.env.VUE_APP_SYS_SERVICE + 'api/sysStruct/getSysStructsTree',
    method: 'get',
    params: params
  });
}
